<?php
/**
 * Created by 荣耀电竞.
 * User: 林子彦 <278805354@qq.com>
 * Date: 2018/7/10 0010
 * Time: 17:10
 */

namespace App\Content\Controllers\Home;

use App\Base\Controllers\Controller;
use App\Content\Contracts\AdvInterface;
use Illuminate\Http\Request;
use Illuminate\Support\Facades\Validator;

class AdvController  extends Controller
{

    /**
     * 广告接口
     * @return AdvInterface
     */
    public function getAdvInterface()
    {
        return app()->make(AdvInterface::class);
    }

     public function getList(){
        return $this->getAdvInterface()->getList(['type'=>1,'status'=>1]);
     }

}